﻿@model IEnumerable<VOD.Models.VideoLanguage>

@{
    ViewBag.Title = "Index";
}

<h1>语言管理</h1>
<table>
    <tr class="thead">
        <th width="20">ID</th>
        <th width="60">
            语言
        </th>
        <th width="100"></th>
    </tr>

@foreach (var item in Model) {
    if (item.LangID == 1) { continue; }
    <tr>
        <td>@Html.DisplayFor(modelItem=>item.LangID)</td>
        <td>
            @Html.DisplayFor(modelItem => item.LangName)
        </td>
        <td>
            @Html.ActionLink("修改", "Edit", new { id=item.LangID }) |
            @Html.ActionLink("删除", "Delete", new { id=item.LangID })
        </td>
    </tr>
}

</table>
